package entity;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class CustomerLoss {

  private Integer id;
  private Integer customerId;
  @JsonFormat(pattern = "yyyy-MM-dd")
  private Date lastOrderTime;
  private String measure;
  private String measureAppend;
  @JsonFormat(pattern = "yyyy-MM-dd")
  private Date lossDate;
  private String reason;
  private Integer status;
  private Customer customer;


  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public Integer getCustomerId() {
    return customerId;
  }

  public void setCustomerId(Integer customerId) {
    this.customerId = customerId;
  }


  public Date getLastOrderTime() {
    return lastOrderTime;
  }

  public void setLastOrderTime(Date lastOrderTime) {
    this.lastOrderTime = lastOrderTime;
  }


  public String getMeasure() {
    return measure;
  }

  public void setMeasure(String measure) {
    this.measure = measure;
  }


  public String getMeasureAppend() {
    return measureAppend;
  }

  public void setMeasureAppend(String measureAppend) {
    this.measureAppend = measureAppend;
  }


  public Date getLossDate() {
    return lossDate;
  }

  public void setLossDate(Date lossDate) {
    this.lossDate = lossDate;
  }


  public String getReason() {
    return reason;
  }

  public void setReason(String reason) {
    this.reason = reason;
  }


  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public Customer getCustomer() {
    return customer;
  }

  public void setCustomer(Customer customer) {
    this.customer = customer;
  }
}
